home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
wlib11_2.zip
/
EXAMPLES.EXE
/
EXAM73.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-03-13
|
540b
|
19 lines
#include "window.h"
#define NORM CREATE_VIDEO_ATTRIBUTE(black,white)
VWPOINTER vw;
WPOINTER w;
main()
{
WindowInitializeSystem();
WindowSaveInitial(0);
w = WindowInitialize(BORDER,1,1,20,10,NORM,NORM,SINGLEBOX);
vw = VirtualInitialize(NOATTRIBUTE,30,80,0);
WindowOpen(w);
WindowDisplay(w,1,NOEFFECT);
VirtualWriteRepeatCharacter(vw,'a',1,1,5);
VirtualWriteRepeatCharacter(vw,'b',2,1,5);
VirtualWriteRepeatCharacter(vw,'c',3,1,5);
WindowAssignToVirtual(w,vw,1,1);
}